//-----------------------------------------------------------------------
// <copyright file="a_ShipCostBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_ShipCostBase
	{
		
		#region Variable Declarations
		private int				shipCostID = 0;
		private int				shipServiceID = 0;
		private decimal				weightMin = 0;
		private decimal				weightMax = 0;
		private decimal				shipCost = 0;
		private int				domainID = 0;
		private byte				type = 0;
		#endregion
		
		#region Constructors
		public a_ShipCostBase() {}
		
		public a_ShipCostBase (
			int shipCostID,
			int shipServiceID,
			decimal weightMin,
			decimal weightMax,
			decimal shipCost,
			int domainID,
			byte type)
		
		{
			this.shipCostID = shipCostID;
			this.shipServiceID = shipServiceID;
			this.weightMin = weightMin;
			this.weightMax = weightMax;
			this.shipCost = shipCost;
			this.domainID = domainID;
			this.type = type;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ShipCostID
		{
			get { return shipCostID; }
			set { shipCostID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ShipServiceID
		{
			get { return shipServiceID; }
			set { shipServiceID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal WeightMin
		{
			get { return weightMin; }
			set { weightMin = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal WeightMax
		{
			get { return weightMax; }
			set { weightMax = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal ShipCost
		{
			get { return shipCost; }
			set { shipCost = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int DomainID
		{
			get { return domainID; }
			set { domainID = value; }
		}
	
		/// <summary>
		/// 	0=order or max single weight,1=order sub total
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte Type
		{
			get { return type; }
			set { type = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_ShipCostColumns
	{
		ShipCostID,
		ShipServiceID,
		WeightMin,
		WeightMax,
		ShipCost,
		DomainID,
		Type
	}//End enum
}